Arduino PWM Output Filter Circuit – Part 2
https://diyelectromusic.com/2021/08/08/arduino-pwm-output-filter-circuit-part-2/
の #機械翻訳
私ははんだ付け不要のブレッドボードで組んだArduino PWM出力フィルタ回路 Arduino PWM Output Filter Circuit をかなり頻繁に使っていたので、それをプロトボードに移してシンプルなシールドとして組み立てると便利だろうと思いました。
I’ve been using my solderless breadboard version of my Arduino PWM Output Filter Circuit quite a lot so thought it might be useful to commit it to protoboard and build it onto a simple shield.
https://gyazo.com/5bcae90d5a9105b749557a2af3d5631d
code:パーツリスト
1× 1.5kΩ 抵抗(以前は270Ω)*
1× 330Ω 抵抗(以前は75Ω)*
1× 68nF コンデンサ
1× 10µF 無極性コンデンサ
3.5mm ステレオジャックソケット
オスヘッダーピン
Arduino 用スタッキングヘッダー
プロトシールド と ジャンパー線
Parts list
1x 1.5K resistor (was 270Ω)*
1x 330Ω resistor (was 75Ω)*
1x 68nF capacitor
1x 10uF non-polar capacitor
3.5mm stereo jack socket
Male headers
Arduino stacking headers
Proto shield and jumper wires
* 値については「Arduino PWM Output Filter Circuit」の議論をご参照ください。
* See discussion about values here: Arduino PWM Output Filter Circuit.
回路
The Circuit
https://gyazo.com/a51204257b7e6041151e0f99d6d8dcd7
特に、PWM出力に Timer1 の Pin 9 または Timer2 の Pin 3 のどちらかを使用できるようにしたかったので、出力回路に接続するピンを選択できるジャンパーを組み込みました。
また、フィルタ前後のテストポイント(左下)と、RX/TX に接続できる切り替え可能な MIDI モジュール接続も追加しています。
以下に、組み立ての写真をいくつか掲載します。
I particularly wanted to have the option of using Pin 9 (on Timer 1) or Pin 3 (on Timer 2) for the PWM output so I’ve included a jumper that allows you to select which pin to connect to the output circuit.
I’ve also included test points for pre and post filter (bottom left) and a switchable MIDI module connection hooked up to RX/TX.
Here are a couple of photos of the build.
https://gyazo.com/590ed8a05c13aa6e164e389cbecb798bhttps://gyazo.com/7b16a83697dcdce051c364b148b0c92d
ヘッダー、スイッチ、ソケット、そしてその下にあるGND配線の一部を最初に取り付け、それから基本的に回りながら他の部品を追加して配線をつなげていきます。最後にスタッキングヘッダーを取り付けます。
Starting with the headers, switch, socket and part of the GND wire underneath, then basically just going round adding the extra components and joining it up. The stacking headers are added last.
https://gyazo.com/98f0cc384a6b484078b065a025e9ad8dhttps://gyazo.com/546abe7c90f2682f8fe17dd9d3baed29
私は、Arduino用のスタッキングヘッダーと直角オスヘッダーを使用して、他のヘッダーのスタック内で使いやすくしたり、未使用のIOピンにジャンパー線を簡単に追加したりできるようにしました。
フルのMIDI送信回路と3.5mm MIDIジャックを載せる誘惑もありましたが、今回はシンプルに保ち、既製のMIDIモジュール Ready-Made MIDI Modulesのいずれかに簡単に接続できるオプションだけを残すことにしました。
これで今後の実験に非常に役立つはずです。
I’ve used stacking Arduino headers and right angle male headers to make this easy to use within a stack of other headers or simply to add jumper wires to the rest of the unused IO pins.
I was tempted to go the whole way and put a full MIDI transmit circuit and 3.5mm MIDI jack, but opted to keep it simple and just leave the option for easy hooking up to one of the Ready-Made MIDI Modules.
This should be really useful for further experiments.
#Kevin